package com.baizhi.dao;

import com.baizhi.entity.SexCount;
import com.baizhi.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface UserDAO {
    void status(@Param("id") Integer id, @Param("status") Integer status);
    List<User> selectAll(@Param("telphone") String telphone);
    List<User> select(@Param("telphone") String telphone);
    void insert(User u);
    List<SexCount> selectSexCount();
    List<Map> selectProvinceCount();
    int selectRegisterCount(@Param("min") Integer min,@Param("max") Integer max);

}
